/**
 * 
 */
package com.guoxianwei.scm.persistence;

import java.util.List;
import java.util.Map;

import com.guoxianwei.scm.domain.Department;

/**
 * @author guoxianwei
 *
 */
public abstract interface DepartmentMapper {

	public abstract List<Department> getDepartment(Map<String,Object> param)  throws Exception;
	
	public abstract int getDepartmentCount(Map<String,Object> param)  throws Exception;
	
	public abstract void removeDepartment(int id)  throws Exception;
	
	public abstract Department getDepartmentById(int id) throws Exception;

}
